package com.monkey.generator.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TUserSynthesiseExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TUserSynthesiseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("userId is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("userId is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Integer value) {
            addCriterion("userId =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Integer value) {
            addCriterion("userId <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Integer value) {
            addCriterion("userId >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("userId >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Integer value) {
            addCriterion("userId <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Integer value) {
            addCriterion("userId <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Integer> values) {
            addCriterion("userId in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Integer> values) {
            addCriterion("userId not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Integer value1, Integer value2) {
            addCriterion("userId between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Integer value1, Integer value2) {
            addCriterion("userId not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andMonkeyidIsNull() {
            addCriterion("monkeyId is null");
            return (Criteria) this;
        }

        public Criteria andMonkeyidIsNotNull() {
            addCriterion("monkeyId is not null");
            return (Criteria) this;
        }

        public Criteria andMonkeyidEqualTo(Integer value) {
            addCriterion("monkeyId =", value, "monkeyid");
            return (Criteria) this;
        }

        public Criteria andMonkeyidNotEqualTo(Integer value) {
            addCriterion("monkeyId <>", value, "monkeyid");
            return (Criteria) this;
        }

        public Criteria andMonkeyidGreaterThan(Integer value) {
            addCriterion("monkeyId >", value, "monkeyid");
            return (Criteria) this;
        }

        public Criteria andMonkeyidGreaterThanOrEqualTo(Integer value) {
            addCriterion("monkeyId >=", value, "monkeyid");
            return (Criteria) this;
        }

        public Criteria andMonkeyidLessThan(Integer value) {
            addCriterion("monkeyId <", value, "monkeyid");
            return (Criteria) this;
        }

        public Criteria andMonkeyidLessThanOrEqualTo(Integer value) {
            addCriterion("monkeyId <=", value, "monkeyid");
            return (Criteria) this;
        }

        public Criteria andMonkeyidIn(List<Integer> values) {
            addCriterion("monkeyId in", values, "monkeyid");
            return (Criteria) this;
        }

        public Criteria andMonkeyidNotIn(List<Integer> values) {
            addCriterion("monkeyId not in", values, "monkeyid");
            return (Criteria) this;
        }

        public Criteria andMonkeyidBetween(Integer value1, Integer value2) {
            addCriterion("monkeyId between", value1, value2, "monkeyid");
            return (Criteria) this;
        }

        public Criteria andMonkeyidNotBetween(Integer value1, Integer value2) {
            addCriterion("monkeyId not between", value1, value2, "monkeyid");
            return (Criteria) this;
        }

        public Criteria andElementIsNull() {
            addCriterion("element is null");
            return (Criteria) this;
        }

        public Criteria andElementIsNotNull() {
            addCriterion("element is not null");
            return (Criteria) this;
        }

        public Criteria andElementEqualTo(Integer value) {
            addCriterion("element =", value, "element");
            return (Criteria) this;
        }

        public Criteria andElementNotEqualTo(Integer value) {
            addCriterion("element <>", value, "element");
            return (Criteria) this;
        }

        public Criteria andElementGreaterThan(Integer value) {
            addCriterion("element >", value, "element");
            return (Criteria) this;
        }

        public Criteria andElementGreaterThanOrEqualTo(Integer value) {
            addCriterion("element >=", value, "element");
            return (Criteria) this;
        }

        public Criteria andElementLessThan(Integer value) {
            addCriterion("element <", value, "element");
            return (Criteria) this;
        }

        public Criteria andElementLessThanOrEqualTo(Integer value) {
            addCriterion("element <=", value, "element");
            return (Criteria) this;
        }

        public Criteria andElementIn(List<Integer> values) {
            addCriterion("element in", values, "element");
            return (Criteria) this;
        }

        public Criteria andElementNotIn(List<Integer> values) {
            addCriterion("element not in", values, "element");
            return (Criteria) this;
        }

        public Criteria andElementBetween(Integer value1, Integer value2) {
            addCriterion("element between", value1, value2, "element");
            return (Criteria) this;
        }

        public Criteria andElementNotBetween(Integer value1, Integer value2) {
            addCriterion("element not between", value1, value2, "element");
            return (Criteria) this;
        }

        public Criteria andWeightIsNull() {
            addCriterion("weight is null");
            return (Criteria) this;
        }

        public Criteria andWeightIsNotNull() {
            addCriterion("weight is not null");
            return (Criteria) this;
        }

        public Criteria andWeightEqualTo(Integer value) {
            addCriterion("weight =", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotEqualTo(Integer value) {
            addCriterion("weight <>", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThan(Integer value) {
            addCriterion("weight >", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThanOrEqualTo(Integer value) {
            addCriterion("weight >=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThan(Integer value) {
            addCriterion("weight <", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThanOrEqualTo(Integer value) {
            addCriterion("weight <=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightIn(List<Integer> values) {
            addCriterion("weight in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotIn(List<Integer> values) {
            addCriterion("weight not in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightBetween(Integer value1, Integer value2) {
            addCriterion("weight between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotBetween(Integer value1, Integer value2) {
            addCriterion("weight not between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andGrowIsNull() {
            addCriterion("grow is null");
            return (Criteria) this;
        }

        public Criteria andGrowIsNotNull() {
            addCriterion("grow is not null");
            return (Criteria) this;
        }

        public Criteria andGrowEqualTo(Integer value) {
            addCriterion("grow =", value, "grow");
            return (Criteria) this;
        }

        public Criteria andGrowNotEqualTo(Integer value) {
            addCriterion("grow <>", value, "grow");
            return (Criteria) this;
        }

        public Criteria andGrowGreaterThan(Integer value) {
            addCriterion("grow >", value, "grow");
            return (Criteria) this;
        }

        public Criteria andGrowGreaterThanOrEqualTo(Integer value) {
            addCriterion("grow >=", value, "grow");
            return (Criteria) this;
        }

        public Criteria andGrowLessThan(Integer value) {
            addCriterion("grow <", value, "grow");
            return (Criteria) this;
        }

        public Criteria andGrowLessThanOrEqualTo(Integer value) {
            addCriterion("grow <=", value, "grow");
            return (Criteria) this;
        }

        public Criteria andGrowIn(List<Integer> values) {
            addCriterion("grow in", values, "grow");
            return (Criteria) this;
        }

        public Criteria andGrowNotIn(List<Integer> values) {
            addCriterion("grow not in", values, "grow");
            return (Criteria) this;
        }

        public Criteria andGrowBetween(Integer value1, Integer value2) {
            addCriterion("grow between", value1, value2, "grow");
            return (Criteria) this;
        }

        public Criteria andGrowNotBetween(Integer value1, Integer value2) {
            addCriterion("grow not between", value1, value2, "grow");
            return (Criteria) this;
        }

        public Criteria andReproductIsNull() {
            addCriterion("reproduct is null");
            return (Criteria) this;
        }

        public Criteria andReproductIsNotNull() {
            addCriterion("reproduct is not null");
            return (Criteria) this;
        }

        public Criteria andReproductEqualTo(Integer value) {
            addCriterion("reproduct =", value, "reproduct");
            return (Criteria) this;
        }

        public Criteria andReproductNotEqualTo(Integer value) {
            addCriterion("reproduct <>", value, "reproduct");
            return (Criteria) this;
        }

        public Criteria andReproductGreaterThan(Integer value) {
            addCriterion("reproduct >", value, "reproduct");
            return (Criteria) this;
        }

        public Criteria andReproductGreaterThanOrEqualTo(Integer value) {
            addCriterion("reproduct >=", value, "reproduct");
            return (Criteria) this;
        }

        public Criteria andReproductLessThan(Integer value) {
            addCriterion("reproduct <", value, "reproduct");
            return (Criteria) this;
        }

        public Criteria andReproductLessThanOrEqualTo(Integer value) {
            addCriterion("reproduct <=", value, "reproduct");
            return (Criteria) this;
        }

        public Criteria andReproductIn(List<Integer> values) {
            addCriterion("reproduct in", values, "reproduct");
            return (Criteria) this;
        }

        public Criteria andReproductNotIn(List<Integer> values) {
            addCriterion("reproduct not in", values, "reproduct");
            return (Criteria) this;
        }

        public Criteria andReproductBetween(Integer value1, Integer value2) {
            addCriterion("reproduct between", value1, value2, "reproduct");
            return (Criteria) this;
        }

        public Criteria andReproductNotBetween(Integer value1, Integer value2) {
            addCriterion("reproduct not between", value1, value2, "reproduct");
            return (Criteria) this;
        }

        public Criteria andBonusIsNull() {
            addCriterion("bonus is null");
            return (Criteria) this;
        }

        public Criteria andBonusIsNotNull() {
            addCriterion("bonus is not null");
            return (Criteria) this;
        }

        public Criteria andBonusEqualTo(Integer value) {
            addCriterion("bonus =", value, "bonus");
            return (Criteria) this;
        }

        public Criteria andBonusNotEqualTo(Integer value) {
            addCriterion("bonus <>", value, "bonus");
            return (Criteria) this;
        }

        public Criteria andBonusGreaterThan(Integer value) {
            addCriterion("bonus >", value, "bonus");
            return (Criteria) this;
        }

        public Criteria andBonusGreaterThanOrEqualTo(Integer value) {
            addCriterion("bonus >=", value, "bonus");
            return (Criteria) this;
        }

        public Criteria andBonusLessThan(Integer value) {
            addCriterion("bonus <", value, "bonus");
            return (Criteria) this;
        }

        public Criteria andBonusLessThanOrEqualTo(Integer value) {
            addCriterion("bonus <=", value, "bonus");
            return (Criteria) this;
        }

        public Criteria andBonusIn(List<Integer> values) {
            addCriterion("bonus in", values, "bonus");
            return (Criteria) this;
        }

        public Criteria andBonusNotIn(List<Integer> values) {
            addCriterion("bonus not in", values, "bonus");
            return (Criteria) this;
        }

        public Criteria andBonusBetween(Integer value1, Integer value2) {
            addCriterion("bonus between", value1, value2, "bonus");
            return (Criteria) this;
        }

        public Criteria andBonusNotBetween(Integer value1, Integer value2) {
            addCriterion("bonus not between", value1, value2, "bonus");
            return (Criteria) this;
        }

        public Criteria andMoneyIsNull() {
            addCriterion("money is null");
            return (Criteria) this;
        }

        public Criteria andMoneyIsNotNull() {
            addCriterion("money is not null");
            return (Criteria) this;
        }

        public Criteria andMoneyEqualTo(Integer value) {
            addCriterion("money =", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotEqualTo(Integer value) {
            addCriterion("money <>", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThan(Integer value) {
            addCriterion("money >", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThanOrEqualTo(Integer value) {
            addCriterion("money >=", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyLessThan(Integer value) {
            addCriterion("money <", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyLessThanOrEqualTo(Integer value) {
            addCriterion("money <=", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyIn(List<Integer> values) {
            addCriterion("money in", values, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotIn(List<Integer> values) {
            addCriterion("money not in", values, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyBetween(Integer value1, Integer value2) {
            addCriterion("money between", value1, value2, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotBetween(Integer value1, Integer value2) {
            addCriterion("money not between", value1, value2, "money");
            return (Criteria) this;
        }

        public Criteria andLuckyIsNull() {
            addCriterion("lucky is null");
            return (Criteria) this;
        }

        public Criteria andLuckyIsNotNull() {
            addCriterion("lucky is not null");
            return (Criteria) this;
        }

        public Criteria andLuckyEqualTo(Integer value) {
            addCriterion("lucky =", value, "lucky");
            return (Criteria) this;
        }

        public Criteria andLuckyNotEqualTo(Integer value) {
            addCriterion("lucky <>", value, "lucky");
            return (Criteria) this;
        }

        public Criteria andLuckyGreaterThan(Integer value) {
            addCriterion("lucky >", value, "lucky");
            return (Criteria) this;
        }

        public Criteria andLuckyGreaterThanOrEqualTo(Integer value) {
            addCriterion("lucky >=", value, "lucky");
            return (Criteria) this;
        }

        public Criteria andLuckyLessThan(Integer value) {
            addCriterion("lucky <", value, "lucky");
            return (Criteria) this;
        }

        public Criteria andLuckyLessThanOrEqualTo(Integer value) {
            addCriterion("lucky <=", value, "lucky");
            return (Criteria) this;
        }

        public Criteria andLuckyIn(List<Integer> values) {
            addCriterion("lucky in", values, "lucky");
            return (Criteria) this;
        }

        public Criteria andLuckyNotIn(List<Integer> values) {
            addCriterion("lucky not in", values, "lucky");
            return (Criteria) this;
        }

        public Criteria andLuckyBetween(Integer value1, Integer value2) {
            addCriterion("lucky between", value1, value2, "lucky");
            return (Criteria) this;
        }

        public Criteria andLuckyNotBetween(Integer value1, Integer value2) {
            addCriterion("lucky not between", value1, value2, "lucky");
            return (Criteria) this;
        }

        public Criteria andUuidIsNull() {
            addCriterion("uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid1IsNull() {
            addCriterion("materialMonkeyId1 is null");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid1IsNotNull() {
            addCriterion("materialMonkeyId1 is not null");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid1EqualTo(Integer value) {
            addCriterion("materialMonkeyId1 =", value, "materialmonkeyid1");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid1NotEqualTo(Integer value) {
            addCriterion("materialMonkeyId1 <>", value, "materialmonkeyid1");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid1GreaterThan(Integer value) {
            addCriterion("materialMonkeyId1 >", value, "materialmonkeyid1");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid1GreaterThanOrEqualTo(Integer value) {
            addCriterion("materialMonkeyId1 >=", value, "materialmonkeyid1");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid1LessThan(Integer value) {
            addCriterion("materialMonkeyId1 <", value, "materialmonkeyid1");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid1LessThanOrEqualTo(Integer value) {
            addCriterion("materialMonkeyId1 <=", value, "materialmonkeyid1");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid1In(List<Integer> values) {
            addCriterion("materialMonkeyId1 in", values, "materialmonkeyid1");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid1NotIn(List<Integer> values) {
            addCriterion("materialMonkeyId1 not in", values, "materialmonkeyid1");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid1Between(Integer value1, Integer value2) {
            addCriterion("materialMonkeyId1 between", value1, value2, "materialmonkeyid1");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid1NotBetween(Integer value1, Integer value2) {
            addCriterion("materialMonkeyId1 not between", value1, value2, "materialmonkeyid1");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid2IsNull() {
            addCriterion("materialMonkeyId2 is null");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid2IsNotNull() {
            addCriterion("materialMonkeyId2 is not null");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid2EqualTo(Integer value) {
            addCriterion("materialMonkeyId2 =", value, "materialmonkeyid2");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid2NotEqualTo(Integer value) {
            addCriterion("materialMonkeyId2 <>", value, "materialmonkeyid2");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid2GreaterThan(Integer value) {
            addCriterion("materialMonkeyId2 >", value, "materialmonkeyid2");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid2GreaterThanOrEqualTo(Integer value) {
            addCriterion("materialMonkeyId2 >=", value, "materialmonkeyid2");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid2LessThan(Integer value) {
            addCriterion("materialMonkeyId2 <", value, "materialmonkeyid2");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid2LessThanOrEqualTo(Integer value) {
            addCriterion("materialMonkeyId2 <=", value, "materialmonkeyid2");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid2In(List<Integer> values) {
            addCriterion("materialMonkeyId2 in", values, "materialmonkeyid2");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid2NotIn(List<Integer> values) {
            addCriterion("materialMonkeyId2 not in", values, "materialmonkeyid2");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid2Between(Integer value1, Integer value2) {
            addCriterion("materialMonkeyId2 between", value1, value2, "materialmonkeyid2");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid2NotBetween(Integer value1, Integer value2) {
            addCriterion("materialMonkeyId2 not between", value1, value2, "materialmonkeyid2");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid3IsNull() {
            addCriterion("materialMonkeyId3 is null");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid3IsNotNull() {
            addCriterion("materialMonkeyId3 is not null");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid3EqualTo(Integer value) {
            addCriterion("materialMonkeyId3 =", value, "materialmonkeyid3");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid3NotEqualTo(Integer value) {
            addCriterion("materialMonkeyId3 <>", value, "materialmonkeyid3");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid3GreaterThan(Integer value) {
            addCriterion("materialMonkeyId3 >", value, "materialmonkeyid3");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid3GreaterThanOrEqualTo(Integer value) {
            addCriterion("materialMonkeyId3 >=", value, "materialmonkeyid3");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid3LessThan(Integer value) {
            addCriterion("materialMonkeyId3 <", value, "materialmonkeyid3");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid3LessThanOrEqualTo(Integer value) {
            addCriterion("materialMonkeyId3 <=", value, "materialmonkeyid3");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid3In(List<Integer> values) {
            addCriterion("materialMonkeyId3 in", values, "materialmonkeyid3");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid3NotIn(List<Integer> values) {
            addCriterion("materialMonkeyId3 not in", values, "materialmonkeyid3");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid3Between(Integer value1, Integer value2) {
            addCriterion("materialMonkeyId3 between", value1, value2, "materialmonkeyid3");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid3NotBetween(Integer value1, Integer value2) {
            addCriterion("materialMonkeyId3 not between", value1, value2, "materialmonkeyid3");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid4IsNull() {
            addCriterion("materialMonkeyId4 is null");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid4IsNotNull() {
            addCriterion("materialMonkeyId4 is not null");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid4EqualTo(Integer value) {
            addCriterion("materialMonkeyId4 =", value, "materialmonkeyid4");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid4NotEqualTo(Integer value) {
            addCriterion("materialMonkeyId4 <>", value, "materialmonkeyid4");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid4GreaterThan(Integer value) {
            addCriterion("materialMonkeyId4 >", value, "materialmonkeyid4");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid4GreaterThanOrEqualTo(Integer value) {
            addCriterion("materialMonkeyId4 >=", value, "materialmonkeyid4");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid4LessThan(Integer value) {
            addCriterion("materialMonkeyId4 <", value, "materialmonkeyid4");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid4LessThanOrEqualTo(Integer value) {
            addCriterion("materialMonkeyId4 <=", value, "materialmonkeyid4");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid4In(List<Integer> values) {
            addCriterion("materialMonkeyId4 in", values, "materialmonkeyid4");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid4NotIn(List<Integer> values) {
            addCriterion("materialMonkeyId4 not in", values, "materialmonkeyid4");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid4Between(Integer value1, Integer value2) {
            addCriterion("materialMonkeyId4 between", value1, value2, "materialmonkeyid4");
            return (Criteria) this;
        }

        public Criteria andMaterialmonkeyid4NotBetween(Integer value1, Integer value2) {
            addCriterion("materialMonkeyId4 not between", value1, value2, "materialmonkeyid4");
            return (Criteria) this;
        }

        public Criteria andOldelementIsNull() {
            addCriterion("oldElement is null");
            return (Criteria) this;
        }

        public Criteria andOldelementIsNotNull() {
            addCriterion("oldElement is not null");
            return (Criteria) this;
        }

        public Criteria andOldelementEqualTo(Integer value) {
            addCriterion("oldElement =", value, "oldelement");
            return (Criteria) this;
        }

        public Criteria andOldelementNotEqualTo(Integer value) {
            addCriterion("oldElement <>", value, "oldelement");
            return (Criteria) this;
        }

        public Criteria andOldelementGreaterThan(Integer value) {
            addCriterion("oldElement >", value, "oldelement");
            return (Criteria) this;
        }

        public Criteria andOldelementGreaterThanOrEqualTo(Integer value) {
            addCriterion("oldElement >=", value, "oldelement");
            return (Criteria) this;
        }

        public Criteria andOldelementLessThan(Integer value) {
            addCriterion("oldElement <", value, "oldelement");
            return (Criteria) this;
        }

        public Criteria andOldelementLessThanOrEqualTo(Integer value) {
            addCriterion("oldElement <=", value, "oldelement");
            return (Criteria) this;
        }

        public Criteria andOldelementIn(List<Integer> values) {
            addCriterion("oldElement in", values, "oldelement");
            return (Criteria) this;
        }

        public Criteria andOldelementNotIn(List<Integer> values) {
            addCriterion("oldElement not in", values, "oldelement");
            return (Criteria) this;
        }

        public Criteria andOldelementBetween(Integer value1, Integer value2) {
            addCriterion("oldElement between", value1, value2, "oldelement");
            return (Criteria) this;
        }

        public Criteria andOldelementNotBetween(Integer value1, Integer value2) {
            addCriterion("oldElement not between", value1, value2, "oldelement");
            return (Criteria) this;
        }

        public Criteria andOldweightIsNull() {
            addCriterion("oldWeight is null");
            return (Criteria) this;
        }

        public Criteria andOldweightIsNotNull() {
            addCriterion("oldWeight is not null");
            return (Criteria) this;
        }

        public Criteria andOldweightEqualTo(Integer value) {
            addCriterion("oldWeight =", value, "oldweight");
            return (Criteria) this;
        }

        public Criteria andOldweightNotEqualTo(Integer value) {
            addCriterion("oldWeight <>", value, "oldweight");
            return (Criteria) this;
        }

        public Criteria andOldweightGreaterThan(Integer value) {
            addCriterion("oldWeight >", value, "oldweight");
            return (Criteria) this;
        }

        public Criteria andOldweightGreaterThanOrEqualTo(Integer value) {
            addCriterion("oldWeight >=", value, "oldweight");
            return (Criteria) this;
        }

        public Criteria andOldweightLessThan(Integer value) {
            addCriterion("oldWeight <", value, "oldweight");
            return (Criteria) this;
        }

        public Criteria andOldweightLessThanOrEqualTo(Integer value) {
            addCriterion("oldWeight <=", value, "oldweight");
            return (Criteria) this;
        }

        public Criteria andOldweightIn(List<Integer> values) {
            addCriterion("oldWeight in", values, "oldweight");
            return (Criteria) this;
        }

        public Criteria andOldweightNotIn(List<Integer> values) {
            addCriterion("oldWeight not in", values, "oldweight");
            return (Criteria) this;
        }

        public Criteria andOldweightBetween(Integer value1, Integer value2) {
            addCriterion("oldWeight between", value1, value2, "oldweight");
            return (Criteria) this;
        }

        public Criteria andOldweightNotBetween(Integer value1, Integer value2) {
            addCriterion("oldWeight not between", value1, value2, "oldweight");
            return (Criteria) this;
        }

        public Criteria andOldgrowIsNull() {
            addCriterion("oldGrow is null");
            return (Criteria) this;
        }

        public Criteria andOldgrowIsNotNull() {
            addCriterion("oldGrow is not null");
            return (Criteria) this;
        }

        public Criteria andOldgrowEqualTo(Integer value) {
            addCriterion("oldGrow =", value, "oldgrow");
            return (Criteria) this;
        }

        public Criteria andOldgrowNotEqualTo(Integer value) {
            addCriterion("oldGrow <>", value, "oldgrow");
            return (Criteria) this;
        }

        public Criteria andOldgrowGreaterThan(Integer value) {
            addCriterion("oldGrow >", value, "oldgrow");
            return (Criteria) this;
        }

        public Criteria andOldgrowGreaterThanOrEqualTo(Integer value) {
            addCriterion("oldGrow >=", value, "oldgrow");
            return (Criteria) this;
        }

        public Criteria andOldgrowLessThan(Integer value) {
            addCriterion("oldGrow <", value, "oldgrow");
            return (Criteria) this;
        }

        public Criteria andOldgrowLessThanOrEqualTo(Integer value) {
            addCriterion("oldGrow <=", value, "oldgrow");
            return (Criteria) this;
        }

        public Criteria andOldgrowIn(List<Integer> values) {
            addCriterion("oldGrow in", values, "oldgrow");
            return (Criteria) this;
        }

        public Criteria andOldgrowNotIn(List<Integer> values) {
            addCriterion("oldGrow not in", values, "oldgrow");
            return (Criteria) this;
        }

        public Criteria andOldgrowBetween(Integer value1, Integer value2) {
            addCriterion("oldGrow between", value1, value2, "oldgrow");
            return (Criteria) this;
        }

        public Criteria andOldgrowNotBetween(Integer value1, Integer value2) {
            addCriterion("oldGrow not between", value1, value2, "oldgrow");
            return (Criteria) this;
        }

        public Criteria andOldreproductIsNull() {
            addCriterion("oldReproduct is null");
            return (Criteria) this;
        }

        public Criteria andOldreproductIsNotNull() {
            addCriterion("oldReproduct is not null");
            return (Criteria) this;
        }

        public Criteria andOldreproductEqualTo(Integer value) {
            addCriterion("oldReproduct =", value, "oldreproduct");
            return (Criteria) this;
        }

        public Criteria andOldreproductNotEqualTo(Integer value) {
            addCriterion("oldReproduct <>", value, "oldreproduct");
            return (Criteria) this;
        }

        public Criteria andOldreproductGreaterThan(Integer value) {
            addCriterion("oldReproduct >", value, "oldreproduct");
            return (Criteria) this;
        }

        public Criteria andOldreproductGreaterThanOrEqualTo(Integer value) {
            addCriterion("oldReproduct >=", value, "oldreproduct");
            return (Criteria) this;
        }

        public Criteria andOldreproductLessThan(Integer value) {
            addCriterion("oldReproduct <", value, "oldreproduct");
            return (Criteria) this;
        }

        public Criteria andOldreproductLessThanOrEqualTo(Integer value) {
            addCriterion("oldReproduct <=", value, "oldreproduct");
            return (Criteria) this;
        }

        public Criteria andOldreproductIn(List<Integer> values) {
            addCriterion("oldReproduct in", values, "oldreproduct");
            return (Criteria) this;
        }

        public Criteria andOldreproductNotIn(List<Integer> values) {
            addCriterion("oldReproduct not in", values, "oldreproduct");
            return (Criteria) this;
        }

        public Criteria andOldreproductBetween(Integer value1, Integer value2) {
            addCriterion("oldReproduct between", value1, value2, "oldreproduct");
            return (Criteria) this;
        }

        public Criteria andOldreproductNotBetween(Integer value1, Integer value2) {
            addCriterion("oldReproduct not between", value1, value2, "oldreproduct");
            return (Criteria) this;
        }

        public Criteria andOldbonusIsNull() {
            addCriterion("oldBonus is null");
            return (Criteria) this;
        }

        public Criteria andOldbonusIsNotNull() {
            addCriterion("oldBonus is not null");
            return (Criteria) this;
        }

        public Criteria andOldbonusEqualTo(Integer value) {
            addCriterion("oldBonus =", value, "oldbonus");
            return (Criteria) this;
        }

        public Criteria andOldbonusNotEqualTo(Integer value) {
            addCriterion("oldBonus <>", value, "oldbonus");
            return (Criteria) this;
        }

        public Criteria andOldbonusGreaterThan(Integer value) {
            addCriterion("oldBonus >", value, "oldbonus");
            return (Criteria) this;
        }

        public Criteria andOldbonusGreaterThanOrEqualTo(Integer value) {
            addCriterion("oldBonus >=", value, "oldbonus");
            return (Criteria) this;
        }

        public Criteria andOldbonusLessThan(Integer value) {
            addCriterion("oldBonus <", value, "oldbonus");
            return (Criteria) this;
        }

        public Criteria andOldbonusLessThanOrEqualTo(Integer value) {
            addCriterion("oldBonus <=", value, "oldbonus");
            return (Criteria) this;
        }

        public Criteria andOldbonusIn(List<Integer> values) {
            addCriterion("oldBonus in", values, "oldbonus");
            return (Criteria) this;
        }

        public Criteria andOldbonusNotIn(List<Integer> values) {
            addCriterion("oldBonus not in", values, "oldbonus");
            return (Criteria) this;
        }

        public Criteria andOldbonusBetween(Integer value1, Integer value2) {
            addCriterion("oldBonus between", value1, value2, "oldbonus");
            return (Criteria) this;
        }

        public Criteria andOldbonusNotBetween(Integer value1, Integer value2) {
            addCriterion("oldBonus not between", value1, value2, "oldbonus");
            return (Criteria) this;
        }

        public Criteria andOldgoldIsNull() {
            addCriterion("oldGold is null");
            return (Criteria) this;
        }

        public Criteria andOldgoldIsNotNull() {
            addCriterion("oldGold is not null");
            return (Criteria) this;
        }

        public Criteria andOldgoldEqualTo(BigDecimal value) {
            addCriterion("oldGold =", value, "oldgold");
            return (Criteria) this;
        }

        public Criteria andOldgoldNotEqualTo(BigDecimal value) {
            addCriterion("oldGold <>", value, "oldgold");
            return (Criteria) this;
        }

        public Criteria andOldgoldGreaterThan(BigDecimal value) {
            addCriterion("oldGold >", value, "oldgold");
            return (Criteria) this;
        }

        public Criteria andOldgoldGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("oldGold >=", value, "oldgold");
            return (Criteria) this;
        }

        public Criteria andOldgoldLessThan(BigDecimal value) {
            addCriterion("oldGold <", value, "oldgold");
            return (Criteria) this;
        }

        public Criteria andOldgoldLessThanOrEqualTo(BigDecimal value) {
            addCriterion("oldGold <=", value, "oldgold");
            return (Criteria) this;
        }

        public Criteria andOldgoldIn(List<BigDecimal> values) {
            addCriterion("oldGold in", values, "oldgold");
            return (Criteria) this;
        }

        public Criteria andOldgoldNotIn(List<BigDecimal> values) {
            addCriterion("oldGold not in", values, "oldgold");
            return (Criteria) this;
        }

        public Criteria andOldgoldBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("oldGold between", value1, value2, "oldgold");
            return (Criteria) this;
        }

        public Criteria andOldgoldNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("oldGold not between", value1, value2, "oldgold");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}